package org.glut.cloud.repairRecordManage.controller;


import org.glut.cloud.repairRecordManage.entity.SignIn;
import org.glut.cloud.repairRecordManage.service.ISignInService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 打卡信息表 前端控制器
 *
 * @author qjc
 * @since 2024-07-30 23:07
 */

/**
 * 打卡信息表 前端控制器
 *
 * @author QJC
 * @since 2024-07-25 21:27
 */
@RestController
@RequestMapping
public class SignInController {
    @Autowired
    private ISignInService isignInService;

    @PostMapping("/signqjc")
    public String signIn(@RequestBody SignIn signIn) {
        isignInService.save(signIn);
        return "打卡成功";
    }
}